<template>
	<div class="title">
		<div class="titleContainer">
			<div class="decoration" style="height:2px;"></div>
			<div class="titleText">{{titleText}}</div>
			<div class="decoration" style="height:2px;"></div>
		</div>
	</div>
</template>
<script>
	export default{
		props:['titleText']
	}
</script>
<style scoped>
	.title{
		height: 30px;
		font-size: 24px;
		color: #999;
		display: flex;
		justify-content: center;
	}
	.titleContainer{
		width: 480px;
		height: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.decoration{
		width: 77px;
		height: 4px;
		border-radius: 1px;
		background: #eee;
	}
</style>
